<!DOCTYPE HTML>
<html>
<head>
    <title><%= __('views.myHistoryRevision')%></title>
    <% include common/meta.ejs %>
    <% include common/public.ejs %>
    <link href="//cdn.bootcss.com/Swiper/3.4.1/css/swiper.min.css" rel="stylesheet">
    <style>

        html,body {
            background-color: #ffffff;
        }
        .uploadImage div {
            margin-left: 0.1rem;
        }
        .acnt_img {
            width: 70px;
            height: 70px;
            border-radius: 10px;
            margin: 5px;
            overflow: hidden;
        }
        .acnt_img img {
            width: 100%;
            height: 100%;
        }
        .dl-horizontal dt {
            clear: left;
            float: left;
            overflow: hidden;
            text-align: right;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 22%;
            padding: 0 5px;
        }
        .dl-horizontal dd {
            color: #999999;
        }
        .uploadImage img {
            width: 100%;
            height: 100%;
        }
        .history_item{
            border-bottom: 1px solid #EEEEEE;
            font-size: 0.7rem;
            padding-top: 4%;
            padding-bottom: 4%;
        }
    </style>
</head>
<body>
<!--<div class="button_sp_area" style="margin: 0.25rem;">
    <a href="repairCall" class="weui_btn weui_btn_plain_default" style="font-size: 17px;line-height: 2;">提交报修</a>
</div>-->
<div class="history">
    <% for(var i = 0;i < data.length;i++) { %>
    <div class="weui-row padded-5 history_item">
        <div class="weui-col-100">
            <dl class="dl-horizontal">
                <dt><%= __('views.timeRepairCall')%>：</dt>
                <dd><%= data[i].issueTime || Dolphin.i18n.get("views.unrecorded") %></dd>
                <dt><%= __('views.equipmentType')%>：</dt>
                <dd><%= data[i].type || Dolphin.i18n.get("views.unspecified") %></dd>
                <dt><%= __('views.detailedAddress')%>：</dt>
                <dd><%= data[i].address || Dolphin.i18n.get("views.unspecified") %></dd>
                <dt><%= __('views.detailedDescription')%>：</dt>
                <dd><%= data[i].remark || Dolphin.i18n.get("views.noDescription") %></dd>
                <dt><%= __('views.currentStatus')%>：</dt>
                <dd><%= data[i].statusName || Dolphin.i18n.get("views.unknownState") %></dd>
            </dl>
        </div>
    </div>
    <% } %>
</div>
<% if(!data.length) { %>
<div style="padding: 10px 20px;"><%= __('views.noReportedData')%></div>
<% } %>
<% include common/footer.ejs %>
</body>
</html>